package com.sanji.sjmallconfig;

/**
 * API 地址类
 * Created by zsf on 16-12-8.
 */
public class ConfigAPI {
//    public static String BASE_URL = "http://www.3j1688.com/appApi/";//线上商城
    public static String BASE_URL = "http://166x87d491.imwork.net:37764/mall/appApi/";//其才
    public static String LOGIN_URL = BASE_URL + "login/check";//登录
    public static String GOODS_HOT_URL = BASE_URL + "goodsHot/getHotList";//本日、本周、本月热销
    public static String GOODS_TYPE_URL = BASE_URL + "goods/allBrands/";//根据前端类目、搜索商品
    public static String GOODS_PART_BRAND_URL = BASE_URL + "goods/initBrands";//配件类型、品牌接口
    public static String GOODS_SEARCH_URL = BASE_URL + "goods/all/";//综合查找商品接口
    public static String GOODS_DETAILS_URL = BASE_URL + "goods/details/";//商品详情
    public static String ADD_SHOPCAR = BASE_URL + "carts/";//添加购物车
    public static String MAIN_BANNER_URL = BASE_URL + "common/switchPic";//首页的图片轮播
    public static String SCORE_URL = BASE_URL + "users/points/";//查询积分
    public static String MY_ORDER_URL = BASE_URL + "orders/queryOrders?";//我的订单
    public static String MY_ORDER_CANCEL_URL = BASE_URL + "orders/concelOrder";//取消我的订单
    public static String MY_ORDER_NUMBER_URL = BASE_URL + "orders/queryStatusNum/";//我的订单的数量
    public static String SHOP_CAR_LIST_URL = BASE_URL + "carts/";// 购物车商品列表
    public static String SHOP_CAR_DELT_URL = BASE_URL + "carts/delete";// 删除购物车项
    public static String SHOP_CAR_MODILY_URL = BASE_URL + "carts/modify";// 修改购物车项数量
    public static String ORDER_PUSH_URL = BASE_URL + "orders/topay";// 提交订单
    public static String ORDER_PAY_URL = BASE_URL + "yeepay/payOrder";// 进行支付
    public static String VERSION_LASTEST_URL = BASE_URL + "common/getLastestVersion";// 获取最新版本信息
    public static String REGION_URL = BASE_URL + "regions/search/byParent?";//获取区域
    public static String REGISTER_URL = BASE_URL + "user/addRegisterUser?";//申请注册
    public static String USER_INFO_URL = BASE_URL + "user/findById";//获取会员信息接口
    public static String IMPROVE_USER_INFO_URL = BASE_URL + "user/complete";//完善会员信息接口
    public static String MOBILECODE_URL = BASE_URL + "/user/getMobileCodeByMobile?";//发送验证码
    public static String TEST_MOBILE_URL = BASE_URL + "/user/existMobileCode?";//验证验证码
    public static String CHANGE_PASSWORD_URL = BASE_URL + "/user/modify/";//修改密码
    public static String SAVE_ADDRESS = BASE_URL + "shipingAddress/";//保存收货地址
}
